package com.opal.system.mapper.mysql;

import com.opal.system.entity.table.OpalUserRole;
import com.opal.system.entity.table.OpalUserRoleExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OpalUserRoleMapper {
    int countByExample(OpalUserRoleExample example);

    int deleteByExample(OpalUserRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OpalUserRole record);

    int insertSelective(OpalUserRole record);

    List<OpalUserRole> selectByExample(OpalUserRoleExample example);

    OpalUserRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OpalUserRole record, @Param("example") OpalUserRoleExample example);

    int updateByExample(@Param("record") OpalUserRole record, @Param("example") OpalUserRoleExample example);

    int updateByPrimaryKeySelective(OpalUserRole record);

    int updateByPrimaryKey(OpalUserRole record);
}